package logic

import (
	"context"

	"doc-flow/docrpc/server/docrpc"
	"doc-flow/docrpc/server/internal/svc"

	"github.com/zeromicro/go-zero/core/logx"
)

type FlowAddLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewFlowAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FlowAddLogic {
	return &FlowAddLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *FlowAddLogic) FlowAdd(in *docrpc.FlowAddRequest) (*docrpc.FlowAddResponse, error) {
	// todo: add your logic here and delete this line

	return &docrpc.FlowAddResponse{}, nil
}
